package cn.edu.sjtu.se.peakfactory.dao.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PEAK_FACTORY_ELEMENT_TABLE")
public class Element {
	private Long id;
	private String name;
	private String color;
	private Integer count;
	private String normal;
	private String big;
	private String moving;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "ELEMENT_NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "ELEMENT_COLOR")
	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Column(name = "ELEMENT_COUNT")
	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	@Column(name = "NORMAL_PIC")
	public String getNormal() {
		return normal;
	}

	public void setNormal(String normal) {
		this.normal = normal;
	}

	@Column(name = "BIG_PIC")
	public String getBig() {
		return big;
	}

	public void setBig(String big) {
		this.big = big;
	}

	@Column(name = "MOVING_PIC")
	public String getMoving() {
		return moving;
	}

	public void setMoving(String moving) {
		this.moving = moving;
	}

}
